# coding: utf-8
'''
    mako template信息
'''

from mako.lookup import TemplateLookup
from SakyaConfig import get

_SECTION = 'sakya.template'

lookup = TemplateLookup(
    directories = [get(_SECTION, 'dir')],
    module_directory = get(_SECTION, 'modules'),
    input_encoding = 'utf-8',
    output_encoding = 'utf-8',
    default_filters = ['decode.utf8'],
)

